<template>

</template>
<script setup lang="ts">
import { toRef, toRefs, toRaw, reactive } from "vue";
const obj = reactive({ name: "gffggg", age: 23, like:"hahaha"});
// toRef 只能修改响应式对象的值，非响应式视图毫无变化
const like = toRef(obj, 'like');
const aaa = toRaw(obj);
</script>